package FourArithmeticOperations;

/**
 * Created by dell on 2017/5/21.
 */
import java.util.Random;
public class Intquestions {
    Random genarator = new Random();

    private String intquestion;
    private final String[] symbol = {"+", "-", "*", "/"};

    public String getIntquestions(){
        int N1,N2,N3,N4 = genarator.nextInt(4);
        intquestion = (" ( " + genarator.nextInt(100) + " "+
                symbol[genarator.nextInt(4)] + " "+ genarator.nextInt(100) + " ) " +
                symbol[genarator.nextInt(4)] + " ( " + genarator.nextInt(100) + " "+
                symbol[genarator.nextInt(4)] +" "+  genarator.nextInt(100) + " ) ");
        return intquestion;
    }
}